package com.example.day10_zuoye.fragmnet;


import android.os.Bundle;

import androidx.fragment.app.Fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.example.day10_zuoye.R;

/**
 * A simple {@link Fragment} subclass.
 */
public class WelComeTwoFragment extends Fragment {

    ImageView imageView;


    public WelComeTwoFragment() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {

        View view = inflater.inflate(R.layout.fragment_wel_come_two, container, false);
        imageView = view.findViewById(R.id.iv);
        Glide.with(getContext()).load("http://photocdn.sohu.com/20110716/Img313617599.jpg").into(imageView);
        return view;
    }

}
